<?php
$this->pageTitle = 'View category';

$this->menu = array(
     array('label' => Yii::t('app', 'Create') . ' ' . $model->label(), 'url' => array('create')),   
    array('label' => Yii::t('app', 'Manage') . ' ' . $model->label(2), 'url' => array('admin')),
);
?>

<h3><?php echo Yii::t('app', 'View') . ' ' . GxHtml::encode($model->label()) ?></h3>

<?php
$this->widget('zii.widgets.CDetailView', array(
    'data' => $model,
    'attributes' => array(
        'name',
        array
            (
            'name' => 'parent',
            'htmlOptions' => array('class' => 'gridmaxwidth', 'style' => 'width: 15px !important'),
            'value' => $model->getCategoryname($model->parent),
        ),
        array
            (
            'name' => 'status',
            'type' => 'image',
            'htmlOptions' => array('class' => 'gridmaxwidth', 'style' => 'width: 15px !important'),
            'value' => SkillConfig::status($model),
        ),
        'create_time',
    ),
));
?>

